﻿using System;


namespace BGM.Sensors.MeasuringDevice
{
    public class MessageRecievedEventArgs : EventArgs
    {
        private int messageCount;
        /// <summary>
        /// Number of messages recieved
        /// </summary>
        public int MessageCount
        {
            get { return messageCount; }
            set { messageCount = value; }
        }
        private string message;
        /// <summary>
        /// Last received
        /// </summary>
        public string Message
        {
            get { return message; }
            set { message = value; }
        }
        public MessageRecievedEventArgs()
        {

        }
        public MessageRecievedEventArgs(int messageCount, string message)
        {
            this.messageCount = messageCount;
            this.message = message;
        }
    }
}
